﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace AlmKickstart.Data
{
	public class Project
	{
		public int ProjectId { get; set; }

		[Display(Name = "Short Description")]
		[DataType(DataType.Text)]
		public string Name { get; set; }

		[Display(Name = "Long Description")]
		[DataType(DataType.MultilineText)]
		public string Description { get; set; }

		[Display(Name = "Start Date")]
		[DataType(DataType.Date)]
		public DateTime? StartDate { get; set; }

		[Display(Name = "Due Date")]
		[DataType(DataType.Date)]
		public DateTime? DueDate { get; set; }

		public int StatusId { get; set; }
		public virtual Status Status { get; set; }

		public int ProjectTypeId { get; set; }
		public virtual ProjectType ProjectType { get; set; }

		public int? ParentProjectId { get; set; }
		public virtual Project ParentProject { get; set; }
	}
}
